// app/models/user.js
// load the things we need
var mongoose = require('mongoose');

// define the schema for our user model
var uiduserSchema = new mongoose.Schema({

	uid :String,
	addTime : Date,
	account :String


	});											

// methods ======================
uiduserSchema.index({account: 1});
uiduserSchema.index({addTime: 1});
uiduserSchema.index({uid: 1});
// create the model for users and expose it to our app
module.exports = mongoose.model('Uiduser', uiduserSchema);
